/**
 * 获取用户
 * @param  {[type]}   ctx  [description]
 * @param  {Function} next [description]
 * @return {Promise}       [description]
 */
exports.getUser = async (ctx, next) => {
    ctx.body = {name: 'ming',age: 20}
}

/**
 * 用户注册
 * @param  {[type]}   ctx  [description]
 * @param  {Function} next [description]
 * @return {Promise}       [description]
 */
exports.deleteUser = async (ctx, next) => {
    console.log('删除用户!');
    ctx.response.body = {  code : 0,message:'successfull!' }
}
